
def tail(context, config)
  return true  unless config.key?(:num)

  head = context.entries.size - config[:num].to_i

  context.entries = context.entries[head, config[:num].to_i]
end

